# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-backgrounds
pkgver=1.24.1
pkgrel=0
pkgdesc="Background images and data for MATE"
url="https://github.com/mate-desktop/mate-backgrounds"
arch="noarch"
license="GPL-2.0-or-later"
depends="mate-common"
makedepends="intltool"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-backgrounds-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="6af6bd1be186da3c4c594687ece1f6b50c3b05fb0619dd0062955e9e09c8007efe76a7625826cba0e4716c8ed61eac4d372b0a3bf2b87f00b7f170bb97709f09  mate-backgrounds-1.24.1.tar.xz"
